/**
 * 
 */
package actions;

import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;

import foldingborder.FoldingBorder;




/**
 * @author Jeremy Bergan
 *
 */
public class FoldingBorderAction extends AwesomeMenuAction {

	FoldingBorder fb;
	
	public FoldingBorderAction(String name, String desc)
	{
		super(name, desc);
		putValue(MNEMONIC_KEY, new Integer(KeyEvent.VK_F));
	}

	@Override
	public void actionPerformed(ActionEvent arg0) {
		fb = new FoldingBorder(getSelectedTextPane(arg0));
	}

}